Skip to content

Arrow functions revisited #166

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 31, 2021
Merged

Conversation

mahdiHash
Copy link
Contributor

Please review and comment/commit if anything is wrong


That's because they are meant for short pieces of code that do not have their own "context", but rather work in the current one. And they really shine in that use case.
به دلیل اینکه آن‌ها برای قطعه‌های کوتاهی از کد در نظر گرفته شده‌اند که «زمینه» خودشان را ندارند و در زمینه کنونی کار می‌کنند. و آن‌ها واقعا در این مورد استفاده می‌درخشند.
Copy link
Contributor Author

@mahdiHash mahdiHash Oct 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line needs more attention

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
به دلیل اینکه آن‌ها برای قطعه‌های کوتاهی از کد در نظر گرفته شده‌اند که «زمینه» خودشان را ندارند و در زمینه کنونی کار می‌کنند. و آن‌ها واقعا در این مورد استفاده می‌درخشند.
به دلیل اینکه آن‌ها برای قطعه‌های کوتاهی از کد در نظر گرفته شده‌اند که «موقعیت»(context) خودشان را ندارند و در موقعیت کنونی کار می‌کنند. و آن‌ها واقعا در این مورد استفاده کاربرد دارند.

Copy link
Contributor Author

@mahdiHash mahdiHash Oct 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I translated "context" as "زمینه" in other articles. I think "موقعیت" is a good translation for "position" or "location" or something like this.
I'll add the English term in parentheses.

@mahdiHash mahdiHash marked this pull request as ready for review October 30, 2021 13:43

That's because they are meant for short pieces of code that do not have their own "context", but rather work in the current one. And they really shine in that use case.
به دلیل اینکه آن‌ها برای قطعه‌های کوتاهی از کد در نظر گرفته شده‌اند که «زمینه» خودشان را ندارند و در زمینه کنونی کار می‌کنند. و آن‌ها واقعا در این مورد استفاده می‌درخشند.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
به دلیل اینکه آن‌ها برای قطعه‌های کوتاهی از کد در نظر گرفته شده‌اند که «زمینه» خودشان را ندارند و در زمینه کنونی کار می‌کنند. و آن‌ها واقعا در این مورد استفاده می‌درخشند.
به دلیل اینکه آن‌ها برای قطعه‌های کوتاهی از کد در نظر گرفته شده‌اند که «موقعیت»(context) خودشان را ندارند و در موقعیت کنونی کار می‌کنند. و آن‌ها واقعا در این مورد استفاده کاربرد دارند.

@javascript-translate-bot

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

Co-authored-by: Mahdyar Hasanpour <[email protected]>
@mahdiHash
Copy link
Contributor Author

Thank you @mahdyar
/done

Copy link
Member

@mahdyar mahdyar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM;
Thank you, @mahdiHashemi14!

@mahdyar mahdyar merged commit acad004 into javascript-tutorial:master Oct 31, 2021
@javascript-translate-bot

Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants